#ifndef __FAN_CONTROL_H
#define __FAN_CONTROL_H	 

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "MS51_16K.H"

/* Exported types ------------------------------------------------------------*/
extern idata uint8_t g_PWM1L_current_buffer;		//current PWML
extern idata uint8_t g_PWM1L_target_buffer;
extern bit b_pwm_update_flag;
extern idata uint8_t g_pwm_target_buffer;
extern idata uint8_t g_pwm_current_buffer;

extern idata uint8_t PWM_duty1_value;
extern idata uint8_t PWM_duty2_value;
extern idata uint8_t PWM_duty3_value;
extern idata uint8_t PWM_duty4_value;
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */
void Fan_PWM_Init(void);
void Fan_PWM_Handle_CallBack(void);

#ifdef __cplusplus
}
#endif

#endif

